package com.dao;

import com.entity.Order_detail;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface Order_detailMapper {

    //列表
    public List<Order_detail> getAll();

    //前端订单详情
    public Order_detail getByIdAndUid(@Param("oid") Integer oid,@Param("uid") Integer uid);

    //增加
    public void add_detail(Order_detail det);


    //根据id获取
    public Order_detail getById(int id);


}